package com.ocom.emqx.client;

import com.ocom.common.constant.RecodeUrl;
import com.ocom.common.entity.mongo.EntityDeviceHistoryPo;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "xfrecode")
public interface XfRecodeFeignService {
    @PostMapping(RecodeUrl.URL_saveDeviceHistory)
    public Result<EntityDeviceHistoryPo> saveDeviceHistory(@RequestBody EntityDeviceHistoryPo deviceHistoryPo);

}
